# Create your views here.
from django.http import HttpResponse
import datetime
from django.template import Template, Context, loader
from django.shortcuts import render_to_response

#def hello(request):
#    return HttpResponse('Hello world')


def hello(request):
    now = datetime.datetime.now()
    """
    #html = "<html><body>It is now %s.</body></html>" % now
    #fp = open('index.htm')
    fp = loader.get_template('index.htm')
    html = t.render()
    return HttpResponse(html)
    """
    return render_to_response('current.html', {'current_date': now})
